/*******************************************************************************
 * Package: com.song.flowable.vo
 * Type:    ReturnTaskVo
 * Date:    2022-02-06 15:02
 *
 * Copyright (c) 2022 HUANENG GUICHENG TRUST CORP.,LTD All Rights Reserved.
 *
 * You may not use this file except in compliance with the License.
 *******************************************************************************/
package com.aracky.flowable.model.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonInclude;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDateTime;
import java.util.Date;

/**
 * @Author zengzhiping
 * @BelongsPackage com.aracky.flowable.service.vo
 * @CreateTime 2022-08-16
 * @Description
 */
@ApiModel("返回Task")
@Data
@JsonInclude(JsonInclude.Include.NON_NULL)
public class TodoTaskVO {
    @ApiModelProperty("任务id")
    private String id;

    @ApiModelProperty("父任务id")
    private String parentTaskId;

    @ApiModelProperty("任务名称")
    private String name;

    @ApiModelProperty("流程实例id")
    private String processInstanceId;

    @ApiModelProperty("执行id")
    private String executionId;

    @ApiModelProperty("创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    @ApiModelProperty("业务key")
    private String businessKey;

    @ApiModelProperty("描述信息")
    private String desc;
}
